from  pyecharts.charts import Map
from  pyecharts import  options
data=[('湖北',46790),("北京",52200),("上海",46799),("重庆",16500)]
map=Map()
map.add("年度Gdp",data,"china")
map.set_global_opts(visualmap_opts=options.VisualMapOpts(max_=1000,is_piecewise=True),legend_opts=options.LegendOpts(is_show=False),title_opts=options.TitleOpts(title="大标题",subtitle="副标题"))
map.render("地图.html")